AddCSLuaFile("shared.lua")
AddCSLuaFile("defines.lua")
AddCSLuaFile("cl_init.lua")

include("defines.lua")
include("player.lua")
include("shared.lua")
include("damage.lua")

function GM:Initialize()
	self.BaseClass:Initialize()
	timer.Create("checkmovement", 0.1, 0, ThinkMove)
	timer.Create("countdown", 1, 0, Countdown)
end

function Countdown()
	TIMELEFT = TIMELEFT - 1

	if TIMELEFT == 0 then // Game over
		GameOver()
		timer.Destroy("countdown")
	end
end
